home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / utility / ffe101.zip / GRAPH.SWG / 0015_PIC.pas < prev    next >
Pascal/Delphi Source File  |  1996-09-04  |  2KB  |  38 lines

  1. --------I-PIC-------------------------------
  2.  
  3. PIC  files  contain images in an  uncompressed format. Both the original
  4. Animator  and  Animator  Pro from Autodesk  produce  PIC files. The file
  5. formats  are  different;  Animator  Pro  produces  a  hierarchial  block
  6. oriented  file,  while  the original Animator  file  is  a simpler fixed
  7. format.  See  PIC(Pro) for further information  on  the Animator Pro PIC
  8. format.
  9.  
  10. The  original Animator uses this format  to store a single-frame picture
  11. image. This format description applies to both PIC and original Animator
  12. CEL files. The file begins with a 32 byte header, as follows:
  13.  
  14. OFFSET              Count TYPE   Description
  15. 0000h                   1 word   ID=9119h
  16. 0002h                   1 word   Width of image; PIC files have always a width
  17.                                  of 320, CEL images may have any value.
  18. 0004h                   1 word   Height of image, 200 for a PIC, any value for
  19.                                  a CEL file.
  20. 0006h                   1 word   X offset of image, always 0 for a PIC image,
  21.                                  may be nonzero in a CEL image.
  22. 0008h                   1 word   Y offset of image. Zero for a PIC file.
  23. 000Ah                   1 byte   Bits per pixel (8)
  24. 000Bh                   1 byte   Compresion flag, always zero
  25. 000Ch                   1 dword  Size of the image data in bytes
  26. 0010h                  16 byte   reserved(0)
  27.  
  28. Immediately  following the header is the  color map. It contains all 256
  29. palette  entries  in rgb order. Each of the  r, g, and b components is a
  30. single  byte  in the range of 0-63.  Following  the color palette is the
  31. image data, one byte per pixel, from left to right, top to bottom.
  32.  
  33. EXTENSION:PIC,CEL
  34. OCCURENCES:PC
  35. PROGRAMS:Autodesk Animator
  36. SEE ALSO:CEL,FLIc,PIC(PRO)
  37.  
  38.